<div id="gotop" onclick="$('html,body').animate({scrollTop:0},800)"></div>
<div id="web_top">
    <div class="content_top">
        <div class="welcome">
            <a href="#">Giới thiệu <span>247Mall.vn</span></a>
            <a href="#">Nhận giá tốt</a>
            <a href="#">Trợ giúp</a>
        </div>
        <div class="wrap_login">
            <div class="fb">
                <div class="fblike_icon"></div>
                <div class="fblike">
                    <div class="fb-like" data-href="https://www.facebook.com/pages/Check/144468995704745?ref=tn_tnmn" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false"></div>
                </div>
            </div>
            {{if isset($userinfo[0])}}
                <a style="color: blue;font-weight: bold;">{{if $userinfo[0]->name==''}}{{$userinfo[0]->email}}{{else}}{{$userinfo[0]->name}}{{/if}}</a> | <a href="{{'dang-xuat/'|base_url}}"> Thoát</a>
            {{else}}
                <a href="{{'tai-khoan'|base_url}}">Đăng nhập</a> | <a href="{{'tai-khoan'|base_url}}">Đăng ký</a>
            {{/if}}
        </div>
    </div>
</div>